package java8_20;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class JiaowuTest3 {
    public static void main(String[] args) {
        Jiaowuchu jc=new Jiaowuchu();
        jc.name="北大青鸟教务处";
        Student s[]=new Student[5];
        //Scanner in=new Scanner(System.in);
        for(int i=0;i<s.length;i++){
            s[i]=new Student();///！！！！！！！！！！
            s[i].name="刘"+i;
            s[i].age=20;
            s[i].javaScore=80+i;
            s[i].show();
        }
        int avg=jc.calc3(s);
        System.out.println("5名同学的java平均分是："+avg);
    }
}
